{extend name="admin@public/base_content" /}
{block name="body">}
<body>
{include file="admin@public/common" /}
<!--头部搜索开始-->
<div class="container-fluid larry-wrapper">
    <div class="row">
        <div class="col-xs-12 col-sm-12 col-md-12">
            <section class="panel panel-padding">
                <form class="layui-form" id="logForm">
                    <div class="layui-form">
                        <div class="layui-inline">
                            <select name="optionType">
                                <option value="">选择操作类型</option>
                                <option value="1" {if condition="input('optionType') eq 1"} selected{/if}>添加操作</option>
                                <option value="2" {if condition="input('optionType') eq 2"} selected{/if}>修改操作</option>
                                <option value="3" {if condition="input('optionType') eq 3"} selected{/if}>删除操作</option>
                            </select>
                        </div>
                        <div class="layui-inline">
                            <button lay-submit class="layui-btn" lay-filter="search">查找</button>
                        </div>
                    </div>
                </form>
            </section>
        </div>
    </div>
</div>
<!--头部搜索结束-->
<div class="layui-form">
    <table class="layui-table lay-even">
        <thead>
        <tr>
            <th width="180">编号</th>
            <th width="180">操作IP</th>
            <th width="180">操作人</th>
            <th width="180">操作备注</th>
            <th width="180">操作类型</th>
            <th width="180">操作时间</th>
            <!--<th width="150">操作</th>-->
        </tr>
        </thead>
        <tbody>
        {volist name="list" id="v"}
        <tr>
            <td>{$v.id}</td>
            <td>{$v.ip}</td>
            <td>{$v.name}</td>
            <td>{$v.content}</td>
            <td>{if condition="$v.status == 1"}添加操作{elseif condition="$v.status == 2"}修改操作{else/}删除操作{/if}</td>
            <td>{:date('Y-m-d',$v['create_time'])}</td>
            <!--<td>-->
                <!--<a href="areaAdd.html?id={$v.id}" class="layui-btn layui-btn-mini modal-catch"><i class="iconfont">&#xe653;</i>编辑</a>-->
                <!--<a class="layui-btn layui-btn-mini layui-btn-danger ajax"-->
                   <!--data-list='{"key":"id={$v.id}","msg":true,"render":"true","action":"del"}'-->
                   <!--data-params='{"url": "{:url("del")}","confirm":"true","data":"id={$v.id}","complete":"del"}'>-->
                    <!--<i class="iconfont">&#xe626;</i>删除-->
                <!--</a>-->
            <!--</td>-->
        </tr>
        {/volist}
        </tbody>
    </table>
</div>
<div class="text-right">
    <div class="layui-box layui-laypage layui-laypage-molv" id="layui-laypage-1">
        {$page}
    </div>
</div>
</body>
{/block}
{block name="script"}
<script src="__ADMIN__/js/jquery/jquery.min.js"></script>
<script>
    layui.use('default');
</script>
{/block}